Expand description
Complete Starknet library in Rust™
Note that
starknet-rs
is still experimental. Breaking changes will be made before the first stable release. Use at your own risk.
The underlying cryptography library
starknet-crypto
does NOT provide constant-time guarantees.
starknet-rs
is a Rust™ client library for Starknet. The current version offers full API
coverage of the sequencer gateway and feeder gateway.
Future versions of starknet-rs
will support all common features required for buildling client
software for Starknet:
- full JSON-RPC API coverage as full node implementations become available
- contract deployment
- generating strongly-typed binding code for contracts from ABI
- invoking contracts through the standard account interface
core
Contains all the necessary data structures for interacting with Starknet.
providers
The Provider
trait provides abstraction over Starknet data providers.
Currently the only implementation is SequencerGatewayProvider
.
contract
Contains all the types for deploying and interacting with Starknet smart contracts.
signers
Contains signer implementations.
accounts
Contains types for using account abstraction on Starknet.
macros
Contains procedural macros useful for this crate.
Modules
- Types for handling Starknet account abstraction
- Types for smart contract deployment and interaction
- Starknet data types
- Procedural macros for
starknet
- Clients for interacting with Starknet nodes and sequencers
- Starknet signer implementations